home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Tools & Apps / Devices & Hardware / NuBus⁄Slot Manager / NuBusTester / nbTestIntf.p next >
Encoding:
Text File  |  1990-09-14  |  577 b   |  26 lines  |  [TEXT/MPS ]

  1. {[j=15-/40]}
  2. {$R-}
  3.  
  4. UNIT nbTestIntf;
  5.  
  6. {    This unit determines whether or not this machine can deal with NuBus cards
  7. that put their declaration ROM in the high part of the card’s 16M address
  8. space.
  9.  
  10.     To use, simply call CheckNuBus. If the card won’t work for some reason, an
  11. appropriate alert is displayed for the user, and CheckNuBus returns FALSE. If
  12. the card will work, then CheckNuBus returns TRUE.
  13.  
  14.     Link your application with nbTestLib.o. }
  15.  
  16.     INTERFACE
  17.  
  18.         USES
  19.             {$PUSH}
  20.             Memtypes, Quickdraw, OSIntf, ToolIntf, PackIntf;
  21.             {$POP}
  22.  
  23.         FUNCTION CheckNuBus: Boolean;
  24.  
  25. END.
  26.